const user = require('../api/userAPI')
const urlParse = require('url')
const Router = require('koa-router');

const router = new Router()

router.get('/user', user.get)
router.post('/user', user.addUser)
router.del('/user/:id', user.delete)
router.put('/user', user.put)
module.exports = router